package com.itheima.TestWork1;

public class Test {
    public static void main(String[] args) {
        Tiger tiger = new Tiger(2,4);
        tiger.eat();

        Rabbit rabbit = new Rabbit(1,4);
        rabbit.eat();
    }
}
